package com.yzjs.localhost.service.sysDept;



import java.util.Map;
import com.yzjs.common.base.service.BaseService;
import com.yzjs.localhost.dto.ComparisonResultDTO;
import com.yzjs.localhost.dto.DataBundlingDTO;
import com.yzjs.localhost.dto.UserRightsDTO;
import com.yzjs.localhost.entity.sysDept.SysDeptEntity;
import com.yzjs.localhost.dao.sysDept.SysDeptMapper;

/**
 * 部门表
 *
 * @author yuqiumin
 * @email sunlightcs@gmail.com
 * @date 2021-09-02 10:49:41
 */
public interface SysDeptService extends BaseService<SysDeptEntity,SysDeptMapper> {

    /**
     * 部门一致性核验结果信息
     * @param dto
     * @param rights
     * @return
     * @throws Exception
     */
    public ComparisonResultDTO DeptCompliance(DataBundlingDTO dto, UserRightsDTO rights ) throws Exception;

    /**
     * 同步部门基础信息
     * @param deptEntity
     */
    public void SynchronizationSysDept(SysDeptEntity deptEntity,String operatorCode);

}

